<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ include file="/commons/pages/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${naviString}</title>
<link href="${ctx}/commons/styles/themes/blue/styles/style.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/commons/scripts/jquery-ui/themes/redmond/jquery-ui.custom.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div align="center">
  <div align="left" style="width:99%">
    <div align="left" class="nav">${naviString}</div>
    <html-el:form action="/manager/ProjectExample.do">
      <html-el:hidden property="method" value="save" />
      <html-el:hidden property="mod_id" />
      <br />
      <table width="100%" border="0" align="left" cellpadding="1" cellspacing="1" class="datagrid">
        <tr>
          <th colspan="2">工程案例</th>
        </tr>
        <tr>
          <td width="15%" class="title_item"><strong>工程名称：</strong></td>
          <td width="85%">${hf.map.project_name}</td>
        </tr>
        <tr>
          <td class="title_item"><strong>工程类别：</strong></td>
          <td><c:forEach var="cur" items="${peTypeList}">
	      	  <c:if test="${cur.dictionary_value eq hf.map.project_type}">${cur.dictionary_desc_cn}</c:if>
	      	</c:forEach></td>
        </tr>
        <tr>
          <td class="title_item"><strong>工程主图：</strong></td>
          <td><c:if test="${not empty (hf.map.accessory.save_url)}"><br/>
              <img src="${ctx}/${hf.map.accessory.save_url}" title="${hf.map.accessory.file_name}" /><br />
            </c:if>
          </td>
        </tr>
        <tr>
          <td class="title_item"><strong>图片说明：</strong></td>
          <td>${hf.map.accessory.description}</td>
        </tr>
        <tr>
          <td class="title_item"><strong>工程介绍：</strong></td>
          <td><div style="width: 600px;">${hf.map.project_intro}</div></td>
        </tr>
        <tr>
          <td class="title_item"><strong>添加人：</strong></td>
          <td>${hf.map.add_user_name}</td>
        </tr>
        <tr>
          <td class="title_item"><strong>添加时间：</strong></td>
          <td><fmt:formatDate value="${hf.map.add_time}" pattern="yyyy-MM-dd" /></td>
        </tr>
        <tr>
          <td class="title_item"><strong>排序值：</strong></td>
          <td>${hf.map.order_value}</td>
        </tr>
        <tr>
          <td class="title_item">&nbsp;</td>
          <td><html-el:button property="back" value=" 返 回 " onclick="history.back();" styleClass="ui-state-default ui-corner-all" style="cursor:pointer;" /></td>
        </tr>
      </table>
    </html-el:form>
  </div>
</div>
<script type="text/javascript" src="${ctx}/commons/scripts/jquery.js"></script>
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
	$("input[type='submit'],input[type='reset'],input[type='button']").css({border: "1px solid"});
	
	$("textarea").each(function(){
		this.onpropertychange = function () {
			if (this.scrollHeight > 16) this.style.posHeight = this.scrollHeight;
		};
	}).css({color:"#000"});

});
//]]></script>
</body>
</html>
